package service

import (
	"context"
	"gitee.com/shuokeyun/merchant-service/internal/domain"

	pb "gitee.com/shuokeyun/merchant-service/api/v1"
)

// MerchantUserService .
type MerchantUserService struct {
	pb.UnimplementedMerchantUserServer
	user domain.MerchantUserUsecase
}

// NewMerchantUserServer .
func NewMerchantUserServer(user domain.MerchantUserUsecase) pb.MerchantUserServer {
	return &MerchantUserService{
		user: user,
	}
}

// CreateMerchantUser .
func (s *MerchantUserService) CreateMerchantUser(ctx context.Context, req *pb.CreateMerchantUserRequest) (*pb.CreateMerchantUserReply, error) {
	return &pb.CreateMerchantUserReply{}, nil
}

// UpdateMerchantUser .
func (s *MerchantUserService) UpdateMerchantUser(ctx context.Context, req *pb.UpdateMerchantUserRequest) (*pb.UpdateMerchantUserReply, error) {
	return &pb.UpdateMerchantUserReply{}, nil
}

// DeleteMerchantUser .
func (s *MerchantUserService) DeleteMerchantUser(ctx context.Context, req *pb.DeleteMerchantUserRequest) (*pb.DeleteMerchantUserReply, error) {
	return &pb.DeleteMerchantUserReply{}, nil
}

// GetMerchantUser .
func (s *MerchantUserService) GetMerchantUser(ctx context.Context, req *pb.GetMerchantUserRequest) (*pb.GetMerchantUserReply, error) {
	return &pb.GetMerchantUserReply{}, nil
}

// ListMerchantUser .
func (s *MerchantUserService) ListMerchantUser(ctx context.Context, req *pb.ListMerchantUserRequest) (*pb.ListMerchantUserReply, error) {
	return &pb.ListMerchantUserReply{}, nil
}
